package com.freewater.springboot.demo.core.resolvabletype.eg2;

import java.util.Collection;
import java.util.List;

public class Business<T> {

    protected final List<T> list;

    protected final T item;

    protected final T[] array;

    public Business(List<T> list, T item, T[] array) {
        this.list = list;
        this.item = item;
        this.array = array;
    }

    public void sort(Comparable<? super T> c) {
        throw new UnsupportedOperationException();
    }

    public boolean add(T t){
        throw new UnsupportedOperationException();
    }

    public boolean addAll(Collection<? extends T> c){
        throw new UnsupportedOperationException();
    }
}
